// 导入 并测试
const db = require('./db/index.js')

// 获取 数组格式的新闻数据
const news = db.news()
// console.log('news:', news)
console.log('news:', news.length)

// console.log('db.students:', db.students)
// const stus = db.students()
// console.log('stus:', stus)

// console.log('db.luckystar:', db.luckystar)
const lucky = db.luckystar()
console.log('lucky:', lucky)
